ElasticPress\Indexable\Post\QueryIntegration A

Total Complexity 70
Dependencies 3
Dependents 1
Total lines 574
Lines of code 250
Logical lines of code 154
Comment lines 246
Methods 11
Properties 1

Methods 11

Method Rating Maintainability Complexity Lines of code
get_es_posts()
C
31 29 100
format_hits_as_posts()
A
42 10 55
maybe_switch_to_blog()
A
53 8 24
add_es_header()
S
61 5 12
found_posts()
S
68 5 6
__construct()
S
60 3 11
maybe_restore_blog()
S
67 3 9
maybe_sanitize_suggestion()
S
59 2 14
format_hits_as_ids()
S
71 2 6
format_hits_as_id_parents()
S
64 2 10
get_switched()
S
82 1 3